#ifndef GAMEPAD_H
#define GAMEPAD_H

#include <SDL2/SDL.h>

class cGamepad
{
public:
	void init();

	void Close(void);

	//bool OpenStick( unsigned int index );

	//void CloseStick( void );
	void reset();
	void Handle_Event();

	void drawStats();

	SDL_Joystick *Joystick;

	bool enabled;

	bool left, right, up, down;
	bool Button_A, Button_B, Button_Start;
};

#endif // !GAMEPAD_H